@import "../css/default.scss";
.main-container {
  .goods-header-wrap {
    width: 100%;

    display: flex;
    justify-content: center;

    box-sizing: border-box;

    background-color: #ffffff;

    .goods-header {
      width: 100%;
      max-width: 76.625rem;
      padding: 1rem 0;

      display: flex;
      justify-content: space-between;
      align-items: center;

      .goods-brand {
        line-height: 1.25;
        display: flex;
        align-items: center;

        .goods-name {
          font-size: 1.25rem;
          font-weight: 600;
        }
      }
    }
  }

  .main-goods-wrap {
    box-sizing: border-box;
    padding-top: 1rem;
    width: 100%;

    display: flex;
    justify-content: center;
    background-color: #ffffff;
    .goods-wrap {
      width: 100%;
      max-width: 76.625rem;

      display: flex;

      .goods-swiper-wrap {
        flex: 1 0 35%;
        max-width: 560px;

        width: 560px;
        height: 560px;
        object-fit: cover;

        .layui-carousel {
          object-fit: cover;
          img {
            width: 100%;
            height: 100%;
          }
        }
      }

      .goods-option-wrap {
        flex: 1 0 65%;
        max-width: 65%;

        box-sizing: border-box;
        padding: 0 1.5rem;

        .goods-title {
          font-size: 1.25rem;
          font-weight: 600;
          margin-bottom: 0.5rem;
        }

        .goods-option {
          color: rgb(143, 143, 143);
          margin-bottom: 0.5rem;
        }

        .goods-price {
          color: $orange-color;
        }

        .form-sect {
          margin: 1rem 0;

          .choose-type-title {
            margin-bottom: 0.5rem;
          }

          .sg-radio-wrap {
            width: 100%;

            margin: 0.5rem;

            input {
              display: none;
            }

            label {
              display: block;
              padding: 0.5rem 0;

              width: 15rem;
              text-align: center;
              border: 1px solid #bfbfbf;

              transition: border 0.3s, color 0.3s;
              &:hover {
                border-color: $orange-color;
                color: $orange-color;
              }
            }

            input:checked + label {
              border-color: $orange-color;
              color: $orange-color;
            }
          }
        }

        .btn-primary {
          width: 10rem;
        }

        .user-location {
          box-sizing: border-box;
          width: 100%;
          padding: 2rem 1rem;
          background-color: #efefef;
        }
      }
    }
  }
}
